import request from "@/utils/request.js";
/**
 * 
 * 所有订单
 * 
 */
// 商城订单








// 认养礼包订单
//获取证书
export function getOrderCert(id) {
	return request.get('adoption/order/cert/' + id)
}



// 暂存
export function getAtoq(data) {
	return request.post('adoption/order/transOrder/save', data)
}
// 暂存后的列表
export function getAtoL(data) {
	return request.post('adoption/order/transOrder/query', data)
}
// 转增订单
export function getAto(data) {
	return request.post('adoption/order/transOrder', data)
}
// 申请提货
export function getAtake(data) {
	return request.post('adoption/order/take', data)
}
// 礼包运费
export function getAtakeFreightFee(data) {
	return request.post('adoption/order/freightFee', data)
}
// 删除认养
export function getTransOrderDel(data) {
	return request.post('adoption/order/transOrder/del', data)
}
// 转增记录
export function getTransOrderInfo(id) {
	return request.get('adoption/order/transOrder/info/' + id)
}
// 转增弹框按钮
export function getTransOrderGet(data) {
	return request.post('adoption/order/transOrder/get', data)
}
// 转增二维码
export function getTransOrderQrcode(data) {
	return request.post('qrcode/get', data)
}
// 查看所有可提货商品

export function getAdoptionqueryAll(data) {
	return request.get('adoption/order/transOrder/queryAll', data);
}
// 批量上传可提货商品
export function getbatchTransOrder(data) {
	return request.post('adoption/order/batchTransOrder', data)
}

// 填写快递信息
export function getrefundExpress(data) {
	return request.post('order/refund/express', data)
}
// 查询快递公司
export function getexpressList(id) {
	return request.get('order/express/list')
}
// 积分支付
export function getorderpaymentjf(data) {
	return request.post('order/payment', data)
}
// 商城订单取消退款
export function getOrderCancelRefund(data) {
	return request.post('order/cancelRefund', data)
}













//场馆预约

export function getVenueOrderList(data) {
	return request.get('venue/order/list', data)
}
// 场馆预约详情
export function getVenueOrderDetail(orderId) {
	return request.get('venue/order/detail/' + orderId)
}
// 场馆退款

export function getVenueOrderRefund(data) {
	return request.post('venue/order/refund', data)
}
// 场馆取消退款
export function getVenueOrderCancelRefund(data) {
	return request.post('venue/order/cancelRefund', data)
}

// 餐饮订单
export function getCateringOrderList(data) {
	return request.get('catering/order/list', data)
}
// 餐饮订单

export function getCateringOrderDetail(orderId) {
	return request.get('catering/order/detail/' + orderId)
}
// 餐饮订单退款
export function getCateringOrderRefund(data) {
	return request.post('catering/order/refund', data)
}
// 餐饮订单取消退款
export function getCateringOrderCancelRefund(data) {
	return request.post('catering/order/cancelRefund', data)
}

// 民宿订单
export function getHotelOrderList(data) {
	return request.get('hotel/order/list', data)
}
// 民宿订单
export function getHotelOrderDetail(orderId) {
	return request.get('hotel/order/detail/' + orderId)
}
// 民宿订单退款
export function getHotelOrderRefund(data) {
	return request.post('hotel/order/refund', data)
}
// 民宿订单取消退款

export function getHotelOrderCancelRefund(data) {
	return request.post('hotel/order/cancelRefund', data)
}
// 亲子研学订单
export function getActivityOrderList(data) {
	return request.get('activity/order/list', data)
}
// 亲子研学订单详情
export function getActivityOrderDetail(orderId) {
	return request.get('activity/order/detail/' + orderId)
}
// 亲子研学订单退款
export function getActivityOrderRefund(data) {
	return request.post('activity/order/refund', data)
}
// 亲子研学取消退款

export function getActivityOrderCancelRefund(data) {
	return request.post('activity/order/cancelRefund', data)
}